package cn.iocoder.yudao.module.vos.controller.admin.secretaccount.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 密钥管理分页 Request VO")
@Data
public class SecretAccountPageReqVO extends PageParam {

    @Schema(description = "租户ID", example = "32511")
    private Long rechargeTenantId;

    @Schema(description = "过滤网关", example = "王五")
    private String filterName;

    @Schema(description = "密钥")
    private String appSecret;

    @Schema(description = "到期时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] expireTime;

    @Schema(description = "充值余额(元)")
    private BigDecimal balance;

    @Schema(description = "是否启用 1启用 0停用")
    private Boolean enabled;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "产品权限")
    private String productPermissions;
}